<?php

require_once 'classes/service/ITopicsService.php';
require_once 'classes/vo/Topic.php';

class TopicsServiceImpl implements ITopicsService {
	
	public function fetchAllTopics() {
		$topics = array();
		
		$topics[] = new Topic(1, 'From PHP #1');
		$topics[] = new Topic(2, 'From PHP #2');
		$topics[] = new Topic(3, 'Ich tu das gaaki lieben tun, jaja');
		
		return $topics;
	}
	
	public function insertTopic(Topic $topic) {
	
	}
	
	public function updateTopic(Topic $topic) {
	
	}
}

?>